package org.ala.tiktools_clickhouse_generator.table;

import java.util.List;

/**
 *	表信息
 *
 *	@author ala
 *	@date 2025年6月7日
 */
public class TableInfo {

	
	/**	
	 * 	表名
	 */
	protected String name;
	/**
	 * 	存储引擎
	 */
	protected String engine;
	/**
	 * 	字段信息
	 */
	protected List<ColumnInfo> columns;
	/**
	 * 分区键
	 */
	protected List<ColumnInfo> prititionBy;
	/**
	 * 排序键
	 */
	protected List<ColumnInfo> orderBy;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEngine() {
		return engine;
	}
	public void setEngine(String engine) {
		this.engine = engine;
	}
	public List<ColumnInfo> getPrititionBy() {
		return prititionBy;
	}
	public void setPrititionBy(List<ColumnInfo> prititionBy) {
		this.prititionBy = prititionBy;
	}
	public List<ColumnInfo> getOrderBy() {
		return orderBy;
	}
	public void setOrderBy(List<ColumnInfo> orderBy) {
		this.orderBy = orderBy;
	}
	public List<ColumnInfo> getColumns() {
		return columns;
	}
	public void setColumns(List<ColumnInfo> columns) {
		this.columns = columns;
	}
}
